<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<title>菜单栏</title>

	<!-- basic styles -->
	<link href="${ctx}/css/assets/css/bootstrap.min.css" rel="stylesheet" />

	<!-- ace settings handler -->
	<script src="${ctx}/css/assets/js/ace-extra.min.js"></script>

	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

	<!--[if lt IE 9]>
	<script src="${ctx}/css/assets/js/html5shiv.js"></script>
	<script src="${ctx}/css/assets/js/respond.min.js"></script>
	<![endif]-->
</head>

<body>
<div class="sidebar" id="sidebar" >
	<script type="text/javascript">
        try {
            ace.settings.check('sidebar', 'fixed')
        } catch (e) {
        }
	</script>
	<div class="sidebar-shortcuts" id="sidebar-shortcuts">
		<div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
			<div style="">
				<button class="btn btn-success" onclick="window.open('<%=request.getContextPath()%>/mintor/showFBGDiagnosisContent/blankpage.jsp','mainbody')">
				<i class="icon-signal"></i>
			</button>

				<button class="btn btn-warning" onclick="window.open('<%=request.getContextPath()%>/mintor/showFBGDiagnosisContent/blankpage.jsp','mainbody')">
					<i class="icon-group"></i>
				</button>

				<button class="btn btn-danger" onclick="window.open('${ctx}/views/body.jsp','body')">
					<i class="icon-cogs"></i>
				</button>
			</div>
		</div>

		<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
			<span class="btn btn-success"></span>

			<span class="btn btn-info"></span>

			<span class="btn btn-warning"></span>

			<span class="btn btn-danger"></span>
		</div>
	</div><!-- #sidebar-shortcuts -->

	<ul class="nav nav-list">
		<li id="indexpage">
			<a href="<%=request.getContextPath()%>/mintor/container/homepage.jsp" target="mainbody">
				<i class="icon-home"></i>
				<span class="menu-text"> 首页</span>
			</a>
		</li>
		<li>
			<a href="#" class="dropdown-toggle">
				<i class="icon-sitemap"></i>
				<span class="menu-text"> 基本信息管理</span>
				<b class="arrow icon-angle-down"></b>
			</a>
			<ul class="submenu">
				<li>
					<a href="${ctx}/equipment/manager" target="mainbody">
						<i class="icon-double-angle-right"></i>设备基本信息管理
					</a>
				</li>
				<%-- <li>
                    <a href="${ctx}/style/manager" target="mainbody">
                        <i class="icon-double-angle-right"></i>类型管理
                    </a>
                </li>
                 <li>
                    <a href="${ctx}/channel/manager" target="mainbody">
                        <i class="icon-double-angle-right"></i>通道管理
                    </a>
                </li> --%>
				<li>
					<a href="${ctx}/sensor/manager" target="mainbody">
						<i class="icon-double-angle-right"></i>传感器基本信息管理
					</a>
				</li>
				<li>
					<a href="${ctx}/compensator/manager" target="mainbody">
						<i class="icon-double-angle-right"></i>补偿器基本信息管理
					</a>
				</li>
			</ul>
		</li>

		<li>
			<a href="#" class="dropdown-toggle">
				<i class="icon-sitemap"></i>
				<span class="menu-text"> 传感器配置管理</span>
				<b class="arrow icon-angle-down"></b>
			</a>
			<ul class="submenu">
				<li>
					<a href="${ctx}/channel/manager" target="mainbody">
						<i class="icon-double-angle-right"></i>传感器通道管理
					</a>
				</li>
				<li>
					<a href="${ctx}/monitor/manager" target="mainbody">
						<i class="icon-double-angle-right"></i>传感器安装管理
					</a>
				</li>
				<li>
					<a href="${ctx}/compensatorEquipment/manager" target="mainbody">
						<i class="icon-double-angle-right"></i>补偿器安装管理
					</a>
				</li>
			</ul>
		</li>

		<%--<li>--%>
		<%--<a href="#" class="dropdown-toggle">--%>
		<%--<i class="icon-list"></i>--%>
		<%--<span class="menu-text">虚拟机床</span>--%>
		<%--<b class="arrow icon-angle-down"></b>--%>
		<%--</a>--%>
		<%--<ul class="submenu">--%>
		<%--<li>--%>
		<%--<a href="<%=request.getContextPath()%>/mintor/model/WebGL_Model.jsp" target="mainbody">--%>
		<%--<i class="icon-double-angle-right"></i>WebGL--%>
		<%--</a>--%>
		<%--</li>--%>
		<%--<li>--%>
		<%--<a href="<%=request.getContextPath()%>/mintor/model/model.jsp" target="mainbody">--%>
		<%--<i class="icon-double-angle-right"></i>VRML--%>
		<%--</a>--%>
		<%--</li>--%>
		<%--</ul>--%>
		<%--</li>--%>


		<li>
			<a href="<%=request.getContextPath()%>/mintor/model/WebGL_Model.jsp" class="dropdown-toggle" target="mainbody">
				<i class="icon-bar-chart"></i>
				<span class="menu-text">虚拟机床</span>
			</a>
		</li>


		<li>
			<a href="#" class="dropdown-toggle">
				<i class="icon-eye-open"></i>
				<span class="menu-text">机床状态监测</span>
				<b class="arrow icon-angle-down"></b>
			</a>
			<ul class="submenu">
				<li>
					<a href="<%=request.getContextPath()%>/mintor/datamonitor/runningstate.jsp" target="mainbody">
						<i class="icon-double-angle-right"></i>运行状态监测
					</a>
				</li>
				<li>
					<a href="<%=request.getContextPath()%>/mintor/datamonitor/intelligentperception.jsp" target="mainbody">
						<i class="icon-double-angle-right"></i>智能感知监测
					</a>
				</li>
			</ul>
		</li>

		<li>
			<%--<a href="<%=request.getContextPath()%>/mintor/showFBGDiagnosisContent/historysearch.jsp" class="dropdown-toggle" target="mainbody">--%>
			<%--<i class="icon-time"></i>--%>
			<%--<span class="menu-text">历史数据查询</span>--%>
			<%--</a>--%>
			<a href="#" class="dropdown-toggle">
				<i class="icon-time"></i>
				<span class="menu-text">历史数据查询</span>
				<b class="arrow icon-angle-down"></b>
			</a>
			<ul class="submenu">
				<li>
					<a href="<%=request.getContextPath()%>/mintor/datahistory/historysearchcnc.jsp" target="mainbody">
						<i class="icon-double-angle-right"></i>运行状态查询
					</a>
				</li>
				<li>
					<a href="<%=request.getContextPath()%>/mintor/datahistory/historysearchsensor.jsp" target="mainbody">
						<i class="icon-double-angle-right"></i>智能感知查询
					</a>
				</li>
			</ul>
		</li>

		<li>
			<a href="#" class="dropdown-toggle">
				<i class="icon-list"></i>
				<span class="menu-text">机床健康管理</span>
				<b class="arrow icon-angle-down"></b>
			</a>
			<ul class="submenu">
				<li>
					<a href="<%=request.getContextPath()%>/mintor/datadiagnosis/sensordiagnosis.jsp" target="mainbody">
						<i class="icon-double-angle-right"></i>传感器健康分析
					</a>
				</li>
				<li>
					<a href="<%=request.getContextPath()%>/mintor/datadiagnosis/cncdiagnosis.jsp" target="mainbody">
						<i class="icon-double-angle-right"></i>机床故障分析
					</a>
				</li>
			</ul>
		</li>

		<li>
			<a href="#" class="dropdown-toggle">
				<i class="icon-dashboard"></i>
				<span class="menu-text">补偿器管理</span>
				<b class="arrow icon-angle-down"></b>
			</a>
			<ul class="submenu">
				<li>
					<a href="<%=request.getContextPath()%>/mintor/compensatormanage/healthmonitor.jsp" target="mainbody">
						<i class="icon-double-angle-right"></i>健康监测
					</a>
				</li>
				<li>
					<a href="<%=request.getContextPath()%>/mintor/compensatormanage/modelupdate.jsp" target="mainbody">
						<i class="icon-double-angle-right"></i> 模型更新
					</a>
				</li>
			</ul>
		</li>


		<li>
			<a href="#" class="dropdown-toggle">
				<i class="icon-user"></i>
				<span class="menu-text"> 用户管理</span>
				<b class="arrow icon-angle-down"></b>
			</a>
			<ul class="submenu">
				<li>
					<a href="<%=request.getContextPath()%>/mintor/content/blankpage.jsp" target="mainbody">
						<i class="icon-double-angle-right"></i> 个人资料
					</a>
				</li>
				<%--<li>--%>
					<%--<a href="<%=request.getContextPath()%>/mintor/showFBGDiagnosisContent/blankpage.jsp" target="mainbody">--%>
						<%--<i class="icon-double-angle-right"></i>用户--%>
					<%--</a>--%>
				<%--</li>--%>
				<%--<li>--%>
					<%--<a href="${ctx}/views/body.jsp" target="body">--%>
						<%--<i class="icon-double-angle-right"></i>切换至后台--%>
					<%--</a>--%>
				<%--</li>--%>

				<li>
					<a href="${ctx}/admin/quit" target="_parent">
						<i class="icon-double-angle-right"></i>退出
					</a>
				</li>
			</ul>
		</li>
	</ul><!-- /.nav-list -->

	<div class="sidebar-collapse" id="sidebar-collapse">
		<i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
	</div>

	<script type="text/javascript">
        try {
            ace.settings.check('sidebar', 'collapsed')
        } catch (e) {
        }
	</script>
</div>
</body>
</html>
